<?php
    $user_id = Yii::app()->user->id;
?>


<h2>User API</h2>
<ol>
<?php
    genLink($this->createUrl("/index-test.php/api/user/show",array("user_id"=>"2")), "Show user info");
    genLink($this->createUrl("/index-test.php/api/user/following",array("user_id"=>"2")), "Show following list");
    genLink($this->createUrl("/index-test.php/api/user/followers",array("user_id"=>"2")), "Show followers list");
    genLink($this->createUrl("/index-test.php/api/user/favorites",array("user_id"=>"2")), "Show favorited tweets");
    genLink($this->createUrl("/index-test.php/api/user/follow",array("follow_id"=>"3")), "Follow a user");
    genLink($this->createUrl("/index-test.php/api/user/unfollow",array("follow_id"=>"3")), "Unfollow a user");
    genLink($this->createUrl("/index-test.php/api/user/updateProfile"), "Update authenticated user's profile");
    genLink($this->createUrl("/index-test.php/api/user/updateAvatar"), "Update authenticated user's avatar");
    genLink($this->createUrl("/index-test.php/api/user/suggestion?slug=a&count=20"), "Suggest user");
?>
</ol>